package com.gzx.plugin.tjzy.modular.call.pre.mapper;

import com.gzx.plugin.tjzy.modular.call.pre.entity.GzxPreOutCall;
import com.gzx.plugin.tjzy.modular.call.pre.vo.GzxPreOutCallVo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import vip.xiaonuo.common.mapper.BaseMapperPlus;

/**
 * @author zjt
 * @description
 * @since 2024/11/8 15:45
 */
public interface GzxPreOutCallMapper extends BaseMapperPlus<GzxPreOutCall, GzxPreOutCallVo> {
    /**
     * 删除预测外呼
     */
    @Update("<script>" +
            "update gzx_pre_out_call set delete_flag = 'DELETE' " +
            "where batch_number = #{batchNumber} "+
            "</script>")
    void deletePreOutCall(@Param("batchNumber") String batchNumber);
}
